﻿using System;

namespace DNX.IoCnoC
{
    public class ErrorsException : Exception
    {
        public string[] Errors { get; private set; }

        public ErrorsException(string[] errors)
        {
            Errors = errors;
        }

        public override string ToString()
        {
            return string.Join(Environment.NewLine,Errors);
        }
    }

    
}